<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            font-size: 20px;
            background-color: pink;
            width: 100px;
            height: 200px;
            line-height: 200px;

            padding-left: 100px;
        }

        .div1 {
            margin: 20px 20px;
        }

        .div2 {
            margin: 20px 20px 20px 60px;
        }
    </style>
</head>

<body>
    <div class="div1">1</div>
    <div class="div2">2</div>
    <div class="div1">3</div>
    <div class="div2">4</div>
</body>

</html>